<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>修改密码</title>
<script type="text/javascript">
function fandeng() {
	window.location="login.jsp"
}	
function fanzhu() {
	window.location="main?method=main"
}	
</script>
<style type="text/css">
.btn{width: 115px;height: 45px;line-height: 15px;text-align: center;color: #fff;font-size: 15px;text-transform: uppercase;text-decoration: none;font-family: sans-serif;box-sizing: border-box;background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);background-size: 400%;border-radius: 60px;z-index: 1}.btn:hover{animation: animate 8s linear infinite}@keyframes animate{0%{background-position: 0%}100%{background-position: 400%}} 
    .btn::before{content: '';position: absolute;top: -5px;left: -5px;right: -5px;bottom: -5px;z-index: -1;background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);background-size: 400%;border-radius: 40px;opacity: 0;transition: 0.5s}.btn:hover::before{filter: blur(20px);opacity: 1;animation: animate 8s linear infinite}.btn1{width: 115px;height: 45px;line-height: 15px;text-align: center;color: #fff;font-size: 15px;text-transform: uppercase;text-decoration: none;font-family: sans-serif;box-sizing: border-box;background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);background-size: 400%;border-radius: 60px;z-index: 1}.btn1:hover{animation: animate 8s linear infinite}@keyframes animate{0%{background-position: 0%}100%{background-position: 400%}} 
    .btn1::before{content: '';position: absolute;top: -5px;left: -5px;right: -5px;bottom: -5px;z-index: -1;background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);background-size: 400%;border-radius: 40px;opacity: 0;transition: 0.5s}.btn1:hover::before{filter: blur(20px);opacity: 1;animation: animate 8s linear infinite}
</style>
<style type="text/css">
	.aaa{
		margin:auto;
		width: 300px;
		height: 200px;
		padding: 20px;
	}
	.bbb{
		margin:auto;
		width: 300px;
		height: 200px;
		padding: 20px;
		
	}
	.button1 {
		 -webkit-transition-duration: 0.4s;
		 transition-duration: 0.4s;
		 padding: 13px 28px;
		 text-align: center;
		 background-color: white;
		 color: black;
		 background: #ee0979; 
		 background: linear-gradient(to right, #ee0979, #ff6a00);
		 border-radius:4px;
 }
 .button1:hover {
		 background-color: #4CAF50;
		 color: white;
 }
 </style>
<style type="text/css">
	body {	
	 height: 700px;
 	 background-image: linear-gradient(45deg, #00FFFF , #FFC0CB 60%); 
	}
</style>
</head>
<body>
<div class="aaa">
	<form action="password?method=gaiPassword" method="post">
		<h3>修改密码</h3>
		<p><label>原密码</label><input type="text" name="yuan" placeholder="请输入原密码"></p>
		<p><label>新密码</label><input type="text" name="xin" placeholder="请输入新密码"></p>
		<p><label>确认密码</label><input type="password" name="xin2" placeholder="请确认密码"></p>
		<p style="">${diff}</p>
		<button style="submit" class="button1">提交</button> <button type="reset" class="button1">重置</button>
	</form>
</div>
<div class="bbb">
	<button onclick="fandeng()" class="btn">返回登录页面</button>
	<button onclick="fanzhu()" class="btn1">返回主页面</button>
</div>
</body>
</html>